Skip to content

Follow Swift 6 Module Template commit 38d7ba4 - #38

Merged
fulldecent merged 1 commit into
mainfrom
adopt-swift6-module-template
Oct 9, 2026
Merged

fulldecent merged 1 commit into
mainfrom
adopt-swift6-module-template

Conversation

@fulldecent

Copy link
Copy Markdown
Owner

Summary

Adopts the practices from Swift 6 Module Template commit 38d7ba4 (2026-10-02, "update for Xcode 27.0 (27A266a)"). That commit is main after the newest tag, 16.4. The README References section cites it and records the iOS deltas.

  • README points at Example/Example.xcodeproj, uses File > Add Package Dependencies..., and documents the simulator xcodebuild command plus a quarterly review of actions/checkout and the macos-15 runner.
  • Package tests use Swift Testing. defaultTimeoutSeconds() passed on an iPhone simulator with Xcode 27.0 (27A266a).
  • The Example project is the Example app target. ExampleTests and ExampleUITests are removed.

Package.swift stays swift-tools-version: 6.0 and iOS 16. CI stays the simulator job in .github/workflows/ci.yml.

Test plan

  • xcodebuild -scheme FDSoundActivatedRecorder -destination id=<iPhone simulator> test — defaultTimeoutSeconds() passed
  • xcodebuild -project Example/Example.xcodeproj -list — target Example only, local package resolves

Adopt the template's single Example app target, Swift Testing, and README development notes. Cite that commit, which is main after tag 16.4, and keep the iOS simulator CI.
Copilot AI balanced review requested due to automatic review settings October 9, 2026 02:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The migration and target removals are internally consistent and match the documented template adoption.

0 open findings

What changed in this PR

Aligns testing, documentation, and the Example project with Swift 6 Module Template commit 38d7ba4.

Changes:

  • Migrates package tests from XCTest to Swift Testing.
  • Removes placeholder Example app test targets.
  • Updates documentation and changelog.
File Description
Tests/​FDSoundActivatedRecorderTests/​FDSoundActivatedRecorderTests.swift Migrates the package test to Swift Testing.
README.md Updates setup, development, maintenance, and template references.
Example/​ExampleTests/​ExampleTests.swift Removes the placeholder unit test.
Example/​ExampleUITests/​ExampleUITests.swift Removes generated UI tests.
Example/​ExampleUITests/​ExampleUITestsLaunchTests.swift Removes the generated launch test.
Example/​Example.xcodeproj/​project.pbxproj Removes both Example test targets and their configuration.
CHANGELOG.md Records the testing and project changes.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@fulldecent
fulldecent merged commit e0f41c0 into main Oct 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants